package com.ly.dao;

import com.ly.pojo.domain.BackupDO;
import org.apache.ibatis.annotations.Param;

/**
 * BackupMapper
 *
 * @author Administrator
 * @date 2025-03-07 10:51:13
 */
public interface BackupMapper {

    /**
     * 根据ID查询备份信息
     * @param id 备份ID
     * @return BackupDO
     */
    BackupDO selectById(@Param("id") Integer id);

    /**
     * 插入新的备份信息
     * @param backupDO 备份对象
     * @return 插入结果
     */
    int insert(BackupDO backupDO);
}
